
package com.lottery.service.impl;

import java.util.List;

import com.lottery.service.impl.BaseManager;
import com.lottery.model.Lottery638;
import com.lottery.dao.Lottery638Dao;
import com.lottery.service.Lottery638Manager;
/*
* @aegis.mapping
*/
public class Lottery638ManagerImpl extends BaseManager implements Lottery638Manager {
    private Lottery638Dao dao;

    /**
     * Set the Dao for communication with the data layer.
     * @param dao
     */
    public void setLottery638Dao(Lottery638Dao dao) {
        this.dao = dao;
    }

    /**
     * @see com.lottery.service.Lottery638Manager#getLottery638s(com.lottery.model.Lottery638)
     */
    public List getLottery638s(final Lottery638 lottery638) {
        return dao.getLottery638s(lottery638);
    }

    /**
     * @see com.lottery.service.Lottery638Manager#getLottery638(String id)
     */
    public Lottery638 getLottery638(final String id) {
        return dao.getLottery638(new Long(id));
    }

    /**
     * @see com.lottery.service.Lottery638Manager#saveLottery638(Lottery638 lottery638)
     */
    public void saveLottery638(Lottery638 lottery638) {
        dao.saveLottery638(lottery638);
    }

    /**
     * @see com.lottery.service.Lottery638Manager#removeLottery638(String id)
     */
    public void removeLottery638(final String id) {
        dao.removeLottery638(new Long(id));
    }
}
